package com.zephyr.vchcenter.bpm.action;

import org.apache.log4j.Logger;

import com.hiaward.bpm.action.GuideAction;
import com.hiaward.bpm.context.ServiceContext;
import com.hiaward.bpm.exception.ParameterException;
import com.hiaward.bpm.exception.ServiceException;
public class CreateTallyAction extends GuideAction {
	
	private final Logger log=Logger.getLogger(CreateTallyAction.class);
	@Override
	public void perform(ServiceContext sc) throws ServiceException,
			ParameterException {
		log.debug("进入CreateTallyAction.............");
        String accno=(String)sc.getInputParameterValue("accno");
        String amount=(String)sc.getInputParameterValue("amount");
        String vchno=(String)sc.getInputParameterValue("vchno");
        log.debug("accno-------"+ accno);
        log.debug("amount-------"+amount);
        log.debug("vchno---------"+vchno);
        log.debug("�li离开CreateTallyAction......................");
//        sc.setOutputParameterValue("accno", accno);
//        sc.setOutputParameterValue("amount", amount);
//        sc.setOutputParameterValue("vchno", vchno);
	}

	@Override
	public void serviceExceptionHandle(ServiceContext arg0,
			ServiceException arg1) {
	

	}

}
